package com.integral.entity;

import java.math.BigDecimal;

import javax.persistence.Table;

/**
 * @Description: 订单表Entity类
 * @author zhaofan
 * @date 2018年05月08日 上午01:48:50
 */
@Table(name="integral_order")
public class Order extends BaseEntity {
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;
	
    /** 
	 * 订单编号 
	 */
	private String orderNo;
    /** 
	 * 订单状态(0.未审核、1:已审核、2:审核失败)
	 */
	private Integer orderStatus;
    /** 
	 * 订单类型(1:积分兑换、2:提现、3:充值、4.下级返利)
	 */
	private Integer orderType;
    /** 
	 * 用户编码 
	 */
	private String userCode;
    /** 
	 * 银行编码 
	 */
	private String bankCode;
    /** 
	 * 银行产品编码 
	 */
	private String bankTypeCode;
	/**
	 * 支付产品ID
	 */
	private Integer productId;
    /** 
	 * 汇率ID 
	 */
	private Integer exchangeRateId;
    /** 
	 * 结算关系ID 
	 */
	private Integer userRelationId;
    /** 
	 * 报单ID 
	 */
	private Integer declarationId;
    /** 
	 * 兑换积分 
	 */
	private Integer exchangeIntegral;
    /** 
	 * 金额 
	 */
	private BigDecimal exchangeMoney;
    /** 
	 * 删除标识(0:未删除、1:已删除) 
	 */
	private Integer deleteFlag;
	/**
	 * 支付请求的xml
	 */
	private String requestXML;
	/**
	 * 微信返回的xml
	 */
	private String responseXML;
	/**
	 * 获取 订单编号
	 */
	public String getOrderNo() {
		return orderNo;
	}
	
	/**
	 * 设置 订单编号
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	/**
	 * 获取 订单状态(0.未审核、1:已审核、2:审核失败)
	 */
	public Integer getOrderStatus() {
		return orderStatus;
	}
	
	/**
	 * 设置 订单状态(0.未审核、1:已审核、2:审核失败)
	 */
	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}
	
	/**
	 * 获取 订单类型(1:积分兑换、2:提现、3:充值、4.下级返利)
	 */
	public Integer getOrderType() {
		return orderType;
	}
	
	/**
	 * 设置 订单类型(1:积分兑换、2:提现、3:充值、4.下级返利)
	 */
	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}
	
	/**
	 * 获取 用户编码
	 */
	public String getUserCode() {
		return userCode;
	}
	
	/**
	 * 设置 用户编码
	 */
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	
	/**
	 * 获取 银行编码
	 */
	public String getBankCode() {
		return bankCode;
	}
	
	/**
	 * 设置 银行编码
	 */
	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}
	
	/**
	 * 获取 银行产品编码
	 */
	public String getBankTypeCode() {
		return bankTypeCode;
	}
	
	/**
	 * 设置 银行产品编码
	 */
	public void setBankTypeCode(String bankTypeCode) {
		this.bankTypeCode = bankTypeCode;
	}
	
	/**
	 * 获取 汇率ID
	 */
	public Integer getExchangeRateId() {
		return exchangeRateId;
	}
	
	/**
	 * 设置 汇率ID
	 */
	public void setExchangeRateId(Integer exchangeRateId) {
		this.exchangeRateId = exchangeRateId;
	}
	
	/**
	 * 获取 结算关系ID
	 */
	public Integer getUserRelationId() {
		return userRelationId;
	}
	
	/**
	 * 设置 结算关系ID
	 */
	public void setUserRelationId(Integer userRelationId) {
		this.userRelationId = userRelationId;
	}
	
	/**
	 * 获取 报单ID
	 */
	public Integer getDeclarationId() {
		return declarationId;
	}
	
	/**
	 * 设置 报单ID
	 */
	public void setDeclarationId(Integer declarationId) {
		this.declarationId = declarationId;
	}
	
	/**
	 * 获取 兑换积分
	 */
	public Integer getExchangeIntegral() {
		return exchangeIntegral;
	}
	
	/**
	 * 设置 兑换积分
	 */
	public void setExchangeIntegral(Integer exchangeIntegral) {
		this.exchangeIntegral = exchangeIntegral;
	}
	
	/**
	 * 获取 金额
	 */
	public BigDecimal getExchangeMoney() {
		return exchangeMoney;
	}
	
	/**
	 * 设置 金额
	 */
	public void setExchangeMoney(BigDecimal exchangeMoney) {
		this.exchangeMoney = exchangeMoney;
	}
	
	/**
	 * 获取 删除标识(0:未删除、1:已删除)
	 */
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	
	/**
	 * 设置 删除标识(0:未删除、1:已删除)
	 */
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	/**
	 * 获取 支付产品ID
	 */
	public Integer getProductId() {
		return productId;
	}

	/**
	 * 设置 支付产品ID
	 */
	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	/**
	 * 获取 支付请求的xml
	 * @return
	 */
	public String getRequestXML() {
		return requestXML;
	}

	/**
	 * 设置 支付请求的xml
	 * @param responseXML
	 */
	public void setRequestXML(String requestXML) {
		this.requestXML = requestXML;
	}

	/**
	 * 获取 微信返回的xml
	 * @return
	 */
	public String getResponseXML() {
		return responseXML;
	}

	/**
	 * 设置 微信返回的xml
	 * @param responseXML
	 */
	public void setResponseXML(String responseXML) {
		this.responseXML = responseXML;
	}
	
	
}